package com.ruoyi.app.zzq.service.impl;
import com.ruoyi.app.dyh.hxf.domain.Active;
import com.ruoyi.app.zzq.domain.Partydues;
import com.ruoyi.app.zzq.mapper.viewMapper;
import com.ruoyi.app.zzq.service.ViewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class viewServiceImpl implements ViewService {
    @Autowired
    private viewMapper viewMapper;
    @Override
    public List<Partydues> SelectpartyDues(String idNum, String startDate, String endDate) {
//        System.out.println(viewMapper.SelectpartyDues(idNum,startDate,endDate));
        return viewMapper.SelectpartyDues(idNum,startDate,endDate);
    }

    @Override
    public List<Active> SelectmyActiveByid(String idNum) {
        return viewMapper.SelectmyActiveByid(idNum);
    }

    @Override
    public Active SelectActiveByid(String activeId) {
        return viewMapper.SelectActiveByid(activeId);
    }
}
